/* MoreServices 页面样式 */

.more-services-container {
  min-height: 100vh;
  background: #f5f5f5;
}

.header {
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-button {
  border: none;
  background: none;
  font-size: 18px;
  margin-right: 12px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.back-button:hover {
  background-color: #f0f0f0;
}

.page-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.search-container {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.search-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #1677ff;
}

.search-button {
  padding: 8px 16px;
  background: #1677ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.search-button:hover {
  background: #0958d9;
}

.tab-container {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.tab-button {
  padding: 6px 12px;
  background: #f5f5f5;
  color: #666;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.tab-button:hover {
  background: #e8e8e8;
}

.tab-button.active {
  background: #1677ff;
  color: #fff;
}

.services-grid {
  padding: 16px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(93,110,180,0.08);
}

.service-name {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: #333;
  margin-bottom: 4px;
}

.service-description {
  font-size: 12px;
  color: #666;
  text-align: center;
  line-height: 1.3;
}

.load-more-container {
  text-align: center;
  margin-bottom: 20px;
}

.load-more-button {
  padding: 12px 24px;
  background: #1677ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.load-more-button:hover:not(:disabled) {
  background: #0958d9;
}

.load-more-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.no-more-text {
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-bottom: 20px;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-title {
  font-size: 16px;
  margin-bottom: 8px;
  color: #666;
}

.empty-subtitle {
  font-size: 14px;
  color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .services-grid {
    padding: 12px;
  }
  
  .service-card {
    padding: 12px;
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
  }
  
  .service-name {
    font-size: 13px;
  }
  
  .service-description {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .services-grid {
    padding: 8px;
  }
  
  .service-card {
    padding: 8px;
  }
  
  .service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }
  
  .service-name {
    font-size: 12px;
  }
  
  .service-description {
    font-size: 10px;
  }
}
